package com.tinem.platform.service.message.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * @author fengzhihao
 * @version v1
 * @program: platform
 * @className ClientConfiguration
 * @description TODO
 * @site
 * @company
 * @create 2022/1/6 16:23:58
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "client")
public class ClientConfiguration {

    Map<String,Config> config;

    @Data
    public static class Config{
        /**
         * 阿里账号
         */
        String ali;
        /**
         * 邮件发送方
         */
        String email;
        /**
         * 短信
         */
        String sms;
        /**
         * mqtt
         */
        String mqtt;
        /**
         * emqx
         */
        String emqx;
    }

}
